package groovy.service

import java.io.File;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

class InitListener implements ServletContextListener {

	final String webinfo
	
	InitListener() {
		String path = new File(InitListener.class.getResource("").getFile()).getAbsolutePath()
		webinfo = path.substring(0, path.indexOf("WEB-INF") + 8)
	}
	
	@Override
	void contextDestroyed(ServletContextEvent event) { }

	@Override
	void contextInitialized(ServletContextEvent event) {
		
	}
}
